/**
 * @author LKQ
 * @date 2022/2/22 22:08
 * @description 位运算
 */
public class Solution2 {
    public static void main(String[] args) {

    }
    public boolean checkIfPangram(String sentence) {
        int res = 0;
        for (char c: sentence.toCharArray()) {
            res |= (1 << (c - 'a'));
            if ((res ^ 0x3ffffff) == 0) {
                return true;
            }
        }
        return false;
    }
}
